# _*_ coding: utf-8 _*_
import json
class Data:
    def __init__(self):
        self.Field_Name=[]
        self.Field_Data=[]
    def Data_Form(self,Field_Name, Field_Data):
        self.Field_Data=Field_Data
        self.Field_Name=Field_Name
    def as_dict(self):
        Field_Name=['dfd','sdfd','sdfdf']
        Field_Data=['dfdf','fdfd']
        dic = {}
        for i in range(len(Field_Name)):
            try:
                dic[Field_Name[i]] = Field_Data[i]
            except:
                Field_Data.append("")
                dic[Field_Name[i]] = Field_Data[i]
        return dict(
            title="Table",
            dicc = dic
        )
if __name__=='__main__':
    da = Data()
    print json.dumps(da.as_dict(),indent=4)